#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2018/3/13 15:02
# @Author  : Swper
# @Site    : 
# @File    : manage.py
# @Software: PyCharm
from app import create_app
from flask_script import Manager
from flask_migrate import Migrate,MigrateCommand
from app.exts import db
# from app.models import *

app = create_app()
manager = Manager(app)
migrate = Migrate(app,db)

manager.add_command('db',MigrateCommand)


if __name__ == '__main__':
    manager.run()